package com.xuecheng.framework.exception;

import com.xuecheng.framework.model.response.ResultCode;
/**
* @Description: 自定义异常信息统一捕获类
* @Param:
* @return:
* @Author: Mr.Yuan
* @Date:
*/
public class CustomException extends RuntimeException {
    private ResultCode resultCode;

    public ResultCode getResultCode() {
        return resultCode;
    }

    public void setResultCode(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public CustomException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
